home *** CD-ROM | disk | FTP | other *** search
- Path: paperboy.uconn.edu!usenet
- From: "MALEPATI V. NARAYANA" <venkat>
- Newsgroups: comp.lang.c
- Subject: Help!! system call
- Date: 20 Jan 1996 00:23:03 GMT
- Organization: sol
- Message-ID: <4dpcl7$3ca@bellboy.ucc.uconn.edu>
- NNTP-Posting-Host: solgate.uconn.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.4 sun4c)
- X-URL: news:comp.lang.c
-
- Hi evey one!!
-
- In my program I am using system() call to invoke an application which creates
- two new files.
- If I terminate the program at this point, the files will contain all the data.
- But I want to compare these two files,so I send the file names to void
- compare(filename1,filename2) function,and open them using fopen and try to read
- the contents.But at this point the files will be empty and no comparision is
- made .Even after the program termination the files will still be empty.Does
- somebody know what may be causing this problem.
-
- Thanks in advance,
-
-
- regards,
- venkat
-
-